package com.wd.user.model;

import androidx.lifecycle.MutableLiveData;

import com.wd.base.thread.ThreadPoolUtils;
import com.wd.common.userservice.bean.TestBean;

/**
 * NA<BR>
 *
 * @author w4425
 * @version [V2.0.0, 2021/3/18]
 * @since V2.0.0
 */
public class MemberRespository {
    public void getData(final MutableLiveData<TestBean> liveData) {
        ThreadPoolUtils.postToMainDelay(new Runnable() {
            @Override
            public void run() {
                TestBean testBean = new TestBean();
                testBean.msg = "Test001";
                liveData.setValue(testBean);
            }
        }, 1000);
    }
}
